@charset"utf-8";
@import"color";
@import"model-beta";
@import'theme';
@import'mobile.admin';
* {
    margin: 0 auto;
    // font-size: 12px;
}

body.ready {
    transform: translate3d(0, 0, 0)\9;
    @include comic_1(0, 0);
}

.ready #jSouperApp._pc {
    .top {
        @include BgTransparentAll(0, 0);
    }
    .main .list-button {
        @include BgTransparentAll(0, 0);
        margin-left: -60px;
    }
    .main .right {
        @include BgTransparentAll(0, 0);
        margin-left: 140px!important;
    }
}

#jSouperApp._pc {
    padding-top: 50px;
    button {
        padding: 5px 15px;
        border: 0;
        cursor: pointer;
        background-color: $white;
        @include shadow(0, 1px, 3px, #C2BEBE);
        color: $black;
        margin: auto 0;
        @include radius(2);
        @include comic_1(0.3, 0);
        &:hover {
            color: $white;
            background-color: $orange;
        }
    }
    hr {
        width: 100%;
        background-color: $grayLighter;
        margin: 15px auto;
    }
    .button_list {
        background-image: url("../images/top_banner.jpg");
        height: 50px;
        width: 100%;
        border-bottom: 1px solid $grayLighter;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1100;
        .box {
            width: 1200px;
            margin: 0 auto;
            .nav {
                display: inline-block;
                vertical-align: top;
                width: 800px;
            }
            .admin {
                display: inline-block;
                vertical-align: top;
                width: 400px;
                text-align: right;
                .list_item {
                    font-size: 14px;
                    color: $cyan;
                }
            }
        }
        .list_item {
            display: inline-block;
            vertical-align: top;
            height: 50px;
            line-height: 50px;
            padding: 0 15px;
            font-size: 16px;
            cursor: pointer;
            position: relative;
            &:hover {
                color: $orange;
                .list {
                    height: auto;
                }
            }
            .list {
                position: absolute;
                width: 100%;
                text-align: center;
                top: 50px;
                height: 0;
                overflow: hidden;
                left: 0;
                font-size: 13px;
                background-color: $white;
                border: 1px solid $grayLighter;
                border-top: none;
                a {
                    display: block;
                    height: 30px;
                    line-height: 30px;
                    background-color: $white;
                    color: $silver;
                    &:hover {
                        color: $orange;
                    }
                }
            }
        }
    }
    .main {
        width: 1200px;
        min-height: 200px;
        margin: 15px auto 0 auto;
        clear: both;
        padding-bottom: 100px;
        a {
            text-decoration: none;
        }
        .mainbox {
            .nav {
                a {
                    color: $black;
                }
                .nav-li {
                    font-size: 14px;
                    @include radius(2);
                    display: inline-block;
                    vertical-align: top;
                    padding: 5px 15px;
                    cursor: pointer;
                    margin-right: 15px;
                    background-color: $white;
                    @include comic_1(0.5,
                    0);
                    &:hover {
                        color: $white;
                        background-color: $orange;
                    }
                    &.focus {
                        color: $white;
                        background-color: $cyan;
                    }
                }
            }
        }
    }
}

.orders {
    position: relative;
    .order-box {
        margin-top: 25px;
        border: 1px solid $grayLighter;
        @include radius(2);
        .title {
            font-size: 14px;
            padding: 8px;
            border-bottom: 1px solid $grayLighter;
            background-color: $grayLighter;
        }
        .detail {
            width: 98%;
            padding: 15px 1%;
            .goods {
                display: inline-block;
                vertical-align: top;
                width: 30%;
                padding-right: 3%;
                .goods-item {
                    width: 100%;
                    margin-bottom: 5px;
                    .goods-image {
                        width: 36px;
                        height: 36px;
                        margin-right: 5px;
                        display: inline-block;
                        vertical-align: top;
                        img {
                            border-radius: 50%;
                        }
                    }
                    .goods-info-item {
                        width: 200px;
                        height: 36px;
                        line-height: 36px;
                        display: inline-block;
                        @include newLine;
                        a {
                            color: $cyan;
                        }
                    }
                }
            }
            .price {
                width: 30%;
                display: inline-block;
                vertical-align: top;
                padding-right: 3%;
                .price-item {
                    @include newLine;
                    line-height: 20px;
                    &.first {
                        font-weight: bold;
                        margin-top: 0;
                    }
                }
            }
            .method {
                width: 33%;
                display: inline-block;
                vertical-align: top;
                padding-right: 1%;
                .line {
                    margin: 5px 0;
                }
                .custom-cash {
                    button {
                        margin-left: 10px!important;
                    }
                }
                input[type="text"] {
                    width: 150px;
                    margin: 5px 0;
                    margin-right: 10px;
                    padding: 3px;
                    height: 20px;
                    border: 1px solid $grayLighter;
                    line-height: 1em;
                }
            }
        }
        .addr {
            padding: 8px;
            line-height: 20px;
            @include newLine;
            border-top: 1px solid $grayLighter;
        }
    }
}

.shelves,
.conversion {
    .tab-title {
        font-size: 20px;
        font-weight: lighter;
        background-color: $grayLighter;
        padding: 10px 5px;
    }
    .entry {
        margin-top: 5px;
        .kinds {
            vertical-align: top;
            width: 100%;
            height: auto;
            margin-bottom: 5px;
            @include newLine();
            .kinds-item {
                display: inline-block;
                padding: 8px 15px;
                @include radius(2);
                cursor: pointer;
                margin: 5px;
                margin-top: 0;
                // background-color: $cyan;
                @include comic_1(0.5,
                0);
                &:hover {
                    color: $fontColor;
                    background-color: $btnHover;
                }
                &.focus {
                    color: $fontColor;
                    background-color: $themeColor;
                }
            }
        }
        .view {
            img {
                max-width: 100%!important;
                ;
            }
        }
    }
    .item,
    .item.title {
        margin-top: 20px;
        clear: both;
    }
    .title {
        #jSouperApp #main & {
            // margin-top: 15px;
            width: auto;
        }
    }
    .item {
        input[type="text"] {
            font-size: 13px;
        }
    }
    ._color_size_amount {
        width: 840px;
        min-height: 36px;
        line-height: 36px;
        #colorSelector {
            position: position;
            float: left;
            top: 0;
            left: 0;
            width: 36px;
            height: 36px;
            background: url('../js/tools/colorpicker/images/select2.png');
            div {
                position: absolute;
                top: 4px;
                left: 4px;
                width: 28px;
                height: 28px;
                background: url('../js/tools/colorpicker/images/select2.png') center;
            }
        }
        .color_name {
            width: 60px;
            padding: 0;
        }
        .size_selector {
            width: auto;
            margin-left: 5px;
        }
        .amount {
            width: 80px;
            padding: 0;
            margin-left: 5px;
        }
        .add_btn {
            min-height: 18px;
            min-width: 18px;
            // text-align: center;
            padding: 0;
            border: 0;
            background-color: $themeColor;
            width: 18px;
            height: 18px;
            &:hover {
                background-color: $btnHover;
            }
        }
    }
    .amount_result {
        width: 800px;
        min-height: 0px;
        @include newLine();
        .amount_box {
            float: left;
            height: 15px;
            line-height: 15px;
            margin-right: 10px;
            border-bottom: 1px solid $orange;
            div {
                float: left;
            }
            .color {
                width: 15px;
                height: 15px;
                margin-right: 3px;
                background-color: $themeColor;
            }
            .colorName {
                height: 15px;
                margin-right: 3px;
            }
            .size {
                margin-right: 3px;
            }
        }
    }
    .upload_images {
        .title {
            width: 190px;
            display: inline-block;
            vertical-align: middle;
        }
        .image_show {
            width: 100%;
            height: auto;
            margin: 15px 0;
            max-height: 160px;
            overflow: hidden;
            img {
                width: 160px;
                height: 160px
            }
        }
    }
    .summary {
        width: 100%;
        height: auto;
        .title {
            #jSouperApp #main & {
                width: auto
            }
            float: left;
        }
        &.item .goods_summary {
            width: 95%;
            height: 50px;
            resize: none;
        }
    }
    #elem1 {
        width: 900px;
        height: 130px;
    }
}

.evaluation {
    .evaluation_list {
        hr {
            clear: both;
        }
        margin-top: 10px;
        .evaluation_item {
            margin-top: 10px;
            margin-bottom: 10px;
            .item {
                display: inline-block;
                vertical-align: top;
                padding: 5px 0;
                @include newLine();
            }
            .score {
                width: 50px;
                text-align: center;
                color: $red;
                font-weight: bold;
            }
            .evaluations {
                width: 310px;
                padding-left: 20px;
                padding-right: 20px;
                .time {
                    color: $silver;
                }
            }
            .buyer {
                width: 200px;
                padding-right: 20px;
                padding-left: 20px;
                span {
                    color: $themeColor;
                }
            }
            .goods {
                width: 350px;
                padding-left: 20px;
                padding-right: 20px;
                a {
                    color: $blue;
                }
                .price {
                    color: $btnHover;
                }
            }
            .comments {
                border-top: 0;
            }
            .method {
                padding-left: 5px;
                margin: 10px 0;
                .replytext {
                    border: 0;
                    border-bottom: 1px solid #ddd;
                    outline: none;
                    margin-right: 5px;
                    font-weight: normal;
                }
            }
            .reply {
                margin: 10px 0;
            }
        }
    }
}

.storeinfo {
    .info_box {
        width: 100%;
        margin-top: 10px;
        .table {
            width: 100%;
            .item {
                margin: 20px 0;
                .title {
                    display: inline-block;
                    vertical-align: top;
                    font-weight: bold;
                }
                .text {
                    @include newLine();
                    padding: 5px 0;
                    margin-top: 10px;
                    width: auto;
                    line-height: 13px;
                    input {
                        width: 175px;
                        border: 0;
                        line-height: 1em;
                        padding: 2px 5px;
                        border-bottom: 1px solid #C2BEBE;
                    }
                    textarea {
                        width: 350px;
                        height: 66px;
                    }
                    .logo {
                        width: 100px;
                        height: 100px;
                        vertical-align: top;
                        @include shadow(0,
                        1px,
                        6px,
                        $grayLight);
                    }
                    .open-time {
                        width: 40px;
                        margin: 0 5px;
                        line-height: 13px;
                        margin-left: 0;
                    }
                }
            }
            .payinfobox {
                @include breakLine();
                height: 0;
                margin-left: 0;
                overflow: hidden;
                width: 455px;
                @include comic_1(0.3,
                0);
                &.focus {
                    height: 300px;
                }
                .payitem1,
                .payitem2 {
                    margin-left: 0;
                    display: inline-block;
                    vertical-align: top;
                    @include comic_1(0.3,
                    0);
                    &.focus {
                        margin-left: -455px;
                    }
                }
            }
        }
    }
}

.changepwd {
    .info_box {
        height: 200px;
        margin-top: 35px;
        .pwd_box {
            width: 430px;
            height: 75px;
            margin-left: 200px;
            table {
                td {
                    padding: 5px;
                }
                width: 430px;
                height: 75px;
                .left {
                    width: 130px;
                    background-color: $grayLighter;
                    padding-left: 10px;
                }
                input {
                    width: 150px;
                    &.pwd {
                        width: 140px;
                        border: 1px solid $grayLighter;
                        border-radius: 2px;
                        padding: 3px;
                    }
                }
                .alert {
                    color: $red;
                }
            }
        }
    }
}

.goodsmanager {
    .search {
        margin-top: 10px;
        .conditions {
            margin-right: 5px;
        }
        .text {
            padding: 0;
            margin-right: 5px;
        }
        #search_btn {
            padding: 0;
            border: 0;
            min-height: 20px;
            height: 20px;
            line-height: 20px;
            font-weight: normal;
            background-color: $themeColor;
        }
    }
    .goods_list {
        width: 100%;
        margin-top: 10px;
        max-width: 100%;
        .card-facotry-list {
            width: 100%;
            margin-bottom: 10px;
            .card-facotry-item {
                display: inline-block;
                vertical-align: top;
                margin-right: 15px;
                a {
                    color: $black;
                    &:hover {
                        color: $orange;
                    }
                }
            }
        }
        table {
            border-collapse: collapse;
            margin-top: 15px;
            @include shadow(0,
            1px,
            6px,
            $grayLighter);
            width: 100%;
            tr {
                background-color: $white;
                @include comic_1(0.5,
                0);
                &:hover {
                    background-color: rgba($grayLighter, 0.15);
                }
            }
            td {
                text-align: center;
                padding: 8px 0;
                @include newLine();
                a {
                    color: $black !important;
                    text-shadow: none !important;
                    &:hover {
                        color: $cyan !important;
                    }
                }
                img {
                    border-radius: 50%;
                }
                button {
                    margin-right: 10px!important;
                    outline: none;
                    &:last-child {
                        margin-right: 0;
                    }
                }
            }
            thead {
                background-color: $grayLighter;
                td {
                    padding: 8px 0;
                }
                .logo {
                    width: 8%;
                }
                .name {
                    width: 17%;
                }
                .number {
                    width: 20%;
                }
                .price {
                    width: 15%;
                }
                .method {
                    width: 40%;
                }
            }
        }
    }
}

.points {
    .box {
        margin-top: 15px;
        table {
            width: 100%;
            text-align: center;
            margin: 15px auto;
            border-collapse: collapse;
            @include radius(2);
            @include shadow(0,
            1px,
            8px,
            $grayLight);
            thead {
                background-color: $grayLighter;
                td {
                    padding: 8px;
                    font-size: 16px;
                    font-weight: lighter;
                }
            }
            td {
                padding: 5px;
                text-align: center;
                button {
                    margin: 0 5px!important;
                }
            }
            .do {
                border: 0;
                background-color: $themeColor;
                min-height: 19px;
                &:hover {
                    background-color: $btnHover;
                }
            }
        }
    }
}

.mainset {
    width: 100%;
    .info_box {
        width: 100%;
        margin-top: 10px;
        line-height: 18px;
        .noticebox {
            @include shadow(0,
            1px,
            5px,
            $grayLight);
            width: 73%;
            height: 21px;
            overflow: hidden;
            padding: 2px 1%;
            margin-left: 0;
            line-height: 21px;
            background-color: $themeColor;
            color: $fontColor;
            .noticeitem {
                height: 21px;
                line-height: 21px;
                @include Line(1);
            }
        }
        .imgset {
            margin-bottom: 15px;
            display: inline-block;
            width: 200px;
            padding: 15px;
            @include radius(2);
            @include shadow(0,
            1px,
            5px,
            $grayLighter);
            margin-right: 15px;
            .img {
                display: block;
                margin: 5px 0;
                width: 200px;
            }
            input {
                line-height: 1em;
                border: 0;
                padding: 3px 2px;
                width: 100%;
                border-bottom: 1px solid #ddd;
                margin: 10px 0;
            }
        }
        .addbox {
            margin-top: 15px;
            padding: 1%;
            width: 98%;
            @include radius(2);
            @include shadow(0,
            1px,
            5px,
            $grayLight);
            margin: 10px auto;
            background-color: rgba($white, 0.6);
            .icon-plus {
                border: 0;
                padding: 0 8px;
                display: block;
                margin-left: 0;
            }
            .noticeitem {
                margin: 5px 0;
                padding: 8px;
                @include comic_1(0.5,
                0);
                background-color: $white;
                &:hover {
                    background-color: rgba($grayLight, 0.15);
                }
                .editor {
                    display: inline-block;
                    width: 75%;
                    vertical-align: middle;
                    input {
                        line-height: 1em;
                        padding: 3px;
                    }
                }
                .notice {
                    display: inline-block;
                    width: 80%;
                    @include Line(1);
                    cursor: default;
                }
                .edit {
                    display: inline-block;
                    vertical-align: middle;
                    border: 0;
                    padding: 0 8px;
                    margin-left: 5px;
                }
            }
        }
        .noticeadd {
            width: 75%;
            border: 0;
            border-bottom: 1px solid #ddd;
            padding: 3px;
            line-height: 1em;
            outline: none;
            margin: 10px 0;
        }
    }
}

#discount {
    width: 800px;
    .box {
        width: 600px;
        .title {
            background-color: $grayLighter;
            width: 150px !important;
            margin: 3px;
            margin-left: 0;
            padding: 3px;
            line-height: 19px;
        }
        input {
            width: 45px;
            min-height: 15px;
            margin: 3px;
        }
        button {
            min-height: 20px;
            border: 0;
            font-weight: normal;
            background-color: $themeColor;
            &:hover {
                background-color: $btnHover;
            }
        }
    }
}

.tile {
    width: 900px;
    height: auto;
    .bigbox {
        position: relative;
        @include newLine();
        width: 100%;
        margin-top: 10px;
        input {
            border: 0;
            line-height: 1em;
            border-bottom: 1px solid #ddd;
            padding: 8px 2px;
            outline: none;
        }
        .add-tag {
            margin: 10px 0;
        }
        .tiles {
            overflow: hidden;
            @include comic_1(0.5,
            0);
            margin: 3px 5px;
            display: inline-block;
            padding: 7px 15px;
            cursor: pointer;
            @include radius(2);
            @include shadow(0,
            1px,
            5px,
            #C2BEBE);
            background-color: $cyan;
            color: $white;
            &:hover {
                background-color: $pink;
            }
        }
        .goods-box {
            margin-top: 15px;
            width: 100%;
            height: auto;
            .tile-goods,
            .search-goods {
                display: inline-block;
                width: 400px;
                height: auto;
            }
            .search-goods {
                margin-left: 50px;
            }
            .titlein {
                width: 100%;
                height: auto;
            }
            .box {
                min-width: 90%;
                margin-top: 5px;
                border-collapse: collapse;
                @include shadow(0,
                1px,
                10px,
                $grayLight);
                @include radius(2);
                margin: 10px 0;
                td {
                    padding: 5px;
                    line-height: 20px;
                }
                .item {
                    .img {
                        width: 50px;
                    }
                    .goods-img {
                        margin-right: 5px;
                        border: 1px solid $themeColor;
                        width: 30px;
                        height: 30px;
                        border-radius: 50%;
                    }
                    background-color: $white;
                    height: auto;
                    @include comic_1(0.5,
                    0);
                    &:hover {
                        background-color: rgba($grayLight, 0.15);
                    }
                    .info {
                        width: 65%;
                    }
                }
                .show-more {
                    background-color: $grayLighter;
                    text-align: center;
                    padding: 8px;
                    cursor: pointer;
                    &:hover {
                        background-color: $btnHover !important;
                        color: $white;
                    }
                }
            }
        }
    }
}

.theme {
    height: auto;
    .info_box {
        @include newLine();
        margin-top: 15px;
        width: 100%;
        height: auto;
        line-height: 20px;
        .is_use_bg_img {
            height: 0px;
            @include comic_1(0.3,
            0);
            overflow: hidden;
            &.focus {
                height: 40px;
            }
        }
        .imgset {
            margin-bottom: 15px;
            display: inline-block;
            width: 200px;
            padding: 15px;
            @include radius(2);
            @include shadow(0,
            1px,
            5px,
            $grayLighter);
            margin-right: 15px;
            .img {
                display: block;
                margin: 5px 0;
                width: 200px;
            }
        }
        .info {
            margin: 10px 0;
            width: 100%;
            height: auto;
        }
        .item {
            display: inline-block;
            width: 80px;
            height: 100px;
            .color {
                width: 100%;
                height: 80%;
                .color-item {
                    width: 50%;
                    height: 100%;
                    float: left;
                }
            }
            .theme {
                width: 100%;
                height: 80%;
            }
            .checkbox {
                width: 100%;
                height: 15%;
                text-align: center;
                padding-top: 5%;
            }
        }
    }
}

.setmap {
    .infobox {
        width: 650px;
        margin: 25px auto;
        .search {
            margin-bottom: 15px;
        }
        .map {
            width: 650px;
            height: 350px;
            @include shadow(0,
            1px,
            20px,
            #aaa);
            margin-bottom: 15px;
        }
    }
}

#turn-page {
    clear: both;
    margin-top: 15px;
    width: auto;
    float: right;
    .pre-page,
    .next-page {
        width: 25px;
        height: 25px;
        background-color: $white;
        color: $black;
        border: 1px solid $grayLighter;
        text-align: center;
        font-weight: bold;
        line-height: 25px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        &:hover {
            background-color: $orange;
            color: $white;
        }
        &.disabled {
            background-color: $grayLighter;
            cursor: text;
        }
    }
    .pages {
        height: 25px;
        margin: 0 15px;
        display: inline-block;
        vertical-align: top;
        .page {
            width: 25px;
            height: 25px;
            display: inline-block;
            vertical-align: top;
            background-color: $white;
            color: $black;
            border: 1px solid $grayLighter;
            border-right: none;
            font-weight: bold;
            text-align: center;
            line-height: 25px;
            cursor: pointer;
            &:last-child {
                border-right: 1px solid $grayLighter;
            }
            &:hover {
                background-color: $orange;
                color: $white;
            }
            &.selected {
                color: $cyan;
                background-color: $cyan;
            }
        }
    }
}

.coupon {
    .title {
        margin: 10px 0;
    }
    .metroui {
        width: 95%;
        border-collapse: collapse;
        @include radius(2);
        @include shadow(0,
        1px,
        10px,
        $grayLight);
        thead {
            td {
                padding: 8px 0;
                background-color: $grayLighter;
            }
        }
        td {
            text-align: center;
            padding: 5px 0;
        }
        tr {
            background-color: $white;
            @include comic_1(0.5,
            0);
            &:hover {
                background-color: #dfdfdf;
            }
        }
    }
}

.classify {
    .box>.classify-list,
    .box>.goods-list {
        min-height: 500px;
        background-color: #fff;
        box-sizing: border-box;
        vertical-align: top;
        padding: 4px;
    }
    .classify-config-panel {
        padding: 2em;
        max-height: 500px;
        overflow-y: auto;
    }
    .nav .nav-item {
        cursor: pointer;
    }
    .nav .nav-item:hover {
        text-shadow: 1px 1px 5px #0DF;
    }
    .classify-list .paper-button {
        margin-right: 5px!important;
        margin-bottom: 4px!important;
    }
    .classify-list .paper-button p {
        font-size: small;
        margin: 0;
        padding: 0;
    }
    .menu-box-static {
        display: inline-block;
        margin: 0!important;
        padding: 0!important;
        min-height: 80px;
    }
    .menu-box-static .paper-button {
        text-align: left;
    }
    .menu-box {
        border: 1px solid;
        display: inline-block;
        margin: 0!important;
        padding: 0!important;
        position: absolute;
    }
    .menu-box .paper-button {
        display: block;
        width: 100%;
        text-align: left;
    }
    .card-facotry-list {
        margin-bottom: 10px;
        .card-facotry-item {
            display: inline-block;
            padding: 3px;
            border: none;
            margin-right: 5px;
            color: #17008E;
            cursor: pointer;
            &:hover {
                background-color: #DDD;
            }
        }
    }
    .folder-button {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .folder-button .paper-container {
        background-color: rgba(255, 255, 255, 0.66)!important;
    }
    .folder-button .paper-container:hover {
        opacity: 0;
    }
    .selected {
        outline: 1px solid #666!important;
    }
}

#jSouperApp inputnumber {
    display: inline-block;
    @include radius(2);
    width: auto;
    margin: 0 5px;
    height: auto;
    @include shadow(0,
    1px,
    5px,
    $grayLight);
    input {
        border: 0;
    }
}

.visitor {
    table {
        border-collapse: collapse;
        @include radius(2);
        @include shadow(0,
        1px,
        8px,
        $grayLight);
        width: 80%;
        text-align: center;
        thead {
            td {
                padding: 12px;
                background-color: $grayLighter;
            }
        }
        td {
            padding: 5px;
        }
    }
}

.bus-express {
    .bus-express-list {
        .paper-table {
            td {
                text-align: center;
            }
        }
    }
    button {
        margin: 0 8px!important;
    }
    .bus-express-name .L-input,
    .bus-express-price .L-input {
        margin: 0;
    }
    .bus-express-price .L-input {
        width: 100px;
        display: block;
        margin: 0 auto
    }
}

.qrcode {
    .box {
        legend {
            font-size: 18px;
            margin-bottom: 10px;
            font-weight: lighter;
        }
        .controller-plan {
            width: 30%;
            display: inline-block;
            vertical-align: top;
            fieldset {
                padding: 8%;
                text-align: center;
            }
        }
        .show-plan {
            width: 70%;
            display: inline-block;
            vertical-align: top;
            fieldset {
                text-align: center;
            }
            button {
                margin: 10px auto!important;
            }
        }
    }
}

.ticket-factory {
    thead {
        td {
            font-size: 16px;
            font-weight: lighter;
        }
    }
    .ticket-factory-new {
        .paper-table {
            tr {
                td {
                    vertical-align: top;
                    padding: 8px;
                }
            }
        }
    }
    .ticket-factory-list {
        .paper-table {
            td {
                text-align: center;
                button {
                    margin: 0 5px !important;
                }
            }
        }
    }
}

.bus_user {
    .box {
        .paper-table {
            td {
                text-align: center;
            }
            thead {
                td {
                    font-size: 16px;
                    font-weight: lighter;
                }
            }
        }
    }
}

#agent {
    .agent {
        width: 100%;
        table {
            width: 99%;
            border: 1px solid #ddd;
            border-radius: 4px;
            border-collapse: collapse;
            margin-bottom: 20px;
            // overflow: hidden;
            td {
                background-color: #efefef;
                border: 1px solid #ddd;
                padding: 5px;
                &.stitle {
                    font-size: 22px;
                    padding: 15px 5px;
                }
                &.input {
                    input,
                    select {
                        max-width: 160px;
                        line-height: 1em;
                        padding: 3px;
                        box-sizing: border-box;
                        height: 26px;
                        border: 1px solid #eee;
                        &.wid {
                            width: 100%;
                        }
                        &.small {
                            width: 80px;
                        }
                    }
                    img {
                        display: block;
                        margin: 0 auto;
                        margin-bottom: 10px;
                        width: 120px;
                    }
                    button {
                        display: block;
                        margin: 0 auto;
                    }
                }
            }
        }
    }
}

#agentlist {
    .agentlist {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #ddd;
            border-collapse: collapse;
            thead {
                td {
                    padding: 10px 5px;
                    font-size: 18px;
                    background-color: #efefef;
                }
            }
            td {
                padding: 5px;
                a {
                    color: $cyan;
                    &:hover {
                        color: $orange;
                    }
                }
            }
        }
    }
}

#agentsetting {
    width: 100%;
    .agentsetting {
        width: 100%;
        table {
            width: 400px;
            border: 1px solid #eee;
            border-collapse: collapse;
            margin-left: 0;
            margin-top: 15px;
            margin-bottom: 15px;
            td {
                padding: 5px;
                border-bottom: 1px solid #eee;
                &.title {
                    width: 150px;
                }
                &.input {
                    input {
                        max-width: 160px;
                        width: 100%;
                        border: 1px solid #eee;
                        padding: 3px;
                        box-sizing: border-box;
                        height: 24px;
                        line-height: 1em;
                    }
                }
            }
        }
    }
}

#agentfinance,
#storefinance {
    width: 100%;
    .agentfinance,
    .storefinance {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            thead {
                td {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 18px;
                }
            }
            td {
                padding: 5px;
                border: 1px solid #eee;
                a {
                    color: $cyan;
                    &:hover {
                        color: $orange;
                    }
                }
            }
        }
    }
}

#agentfinancedetails,
#storefinancedetails {
    width: 100%;
    .agentfinancedetails,
    .storefinancedetails {
        width: 100%;
        .title {
            width: 100%;
            font-size: 20px;
            margin-bottom: 15px;
        }
        .choose {
            width: 100%;
            input {
                border: 1px solid #eee;
                line-height: 1em;
                padding: 3px;
            }
        }
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            thead {
                td {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 18px;
                }
            }
            td {
                padding: 5px;
                border: 1px solid #eee;
            }
        }
    }
}

#purchase {
    .purchase {
        width: 100%;
        .theme {
            font-size: 25px;
            font-weight: bold;
            border: none;
            padding: 5px;
            border-bottom: 1px solid #ddd;
            line-height: 1em;
            margin-bottom: 20px;
            outline: none;
        }
        .select-model {
            box-sizing: border-box;
            width: 135px;
            position: relative;
            padding: 0;
            outline: none;
            box-shadow: none;
            margin-left: 0;
            -webkit-box-shadow: none;
            text-align: left;
            background-color: #fff;
            &:hover {
                color: $black;
            }
            &.focus {
                .inbox {
                    display: block;
                }
            }
            .material_input {
                width: 100%;
                box-sizing: border-box;
                line-height: 1em;
                height: 24px;
                padding: 3px;
                margin: 0;
                border: none;
                outline: none;
            }
            .inbox {
                box-sizing: border-box;
                width: 100%;
                position: absolute;
                top: 24px;
                border: 1px solid $cyan;
                border-top: none;
                display: none;
                background-color: #fff;
                .add {
                    padding: 5px 3px;
                    background-color: $cyan;
                    color: $white;
                    cursor: pointer;
                    &:hover {
                        background-color: $orange;
                    }
                }
                .material_list {
                    max-height: 125px;
                    overflow-y: scroll;
                    .item {
                        height: 25px;
                        line-height: 25px;
                        padding: 0 3px;
                        @include Line(1);
                    }
                }
            }
        }
        table {
            width: 100%;
            border: 1px solid #ddd;
            border-collapse: collapse;
            thead {
                td {
                    background-color: #f0f0f0;
                    font-size: 15px;
                    font-weight: bold;
                }
            }
            td {
                padding: 5px;
                border: 1px solid #ddd;
                a {
                    color: $black;
                    padding: 5px;
                    cursor: pointer;
                    &:hover {
                        color: $orange;
                    }
                }
                &.input {
                    input {
                        padding: 3px;
                        line-height: 1em;
                        max-width: 160px;
                        border: none;
                        &.wid {
                            box-sizing: border-box;
                            max-width: 100%;
                            width: 100%;
                        }
                    }
                }
                &.title {
                    background-color: #f0f0f0;
                    font-weight: bold;
                }
            }
        }
    }
}

#purchaselist {
    .purchaselist {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #ddd;
            border-collapse: collapse;
            thead {
                td {
                    font-size: 15px;
                    font-weight: bold;
                    background-color: #f0f0f0;
                }
            }
            td {
                padding: 5px;
                a {
                    cursor: pointer;
                    padding: 5px;
                    color: $cyan;
                    &:hover {
                        color: $orange;
                    }
                }
            }
        }
    }
}

#purchasestock {
    .purchasestock {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #ddd;
            border-collapse: collapse;
            thead {
                td {
                    font-size: 15px;
                    font-weight: bold;
                    background-color: #f0f0f0;
                }
            }
            td {
                padding: 5px;
                a {
                    cursor: pointer;
                    padding: 5px;
                    color: $cyan;
                    &:hover {
                        color: $orange;
                    }
                }
                input {
                    padding: 3px;
                    line-height: 1em;
                        max-width: 160px;
                    border: none;
                    &.wid {
                        box-sizing: border-box;
                        width: 100%;
                        max-width: 100%;
                    }
                }
            }
        }
    }
}

#conversion {
    .conversion {
        width: 100%;
        .choose {
            width: 100%;
            .title {
                font-size: 22px;
                margin-bottom: 20px;
            }
            .cgoods,
            .cpurchase {
                display: inline-block;
                vertical-align: top;
                width: 50%;
                select {
                    margin-right: 25px;
                    height: 25px;
                }
                input {
                    box-sizing: border-box;
                    line-height: 1em;
                    padding: 3px;
                    height: 25px;
                    border-radius: 2px;
                    border: 1px solid #aaa;
                }
                .method {
                    margin-top: 15px;
                }
            }
        }
        .new_goods {
            display: none;
            &.focus {
                display: block;
            }
        }
    }
}


.storeregister {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            td {
                padding: 5px;
                border: 1px solid #eee;
                &.stitle {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 20px;
                }
                &.input {
                    input {
                        border: 1px solid #eee;
                        max-width: 100%;
                        padding: 3px;
                        line-height: 1em;
                        box-sizing: border-box;
                        height: 24px;
                        &.wide {
                            width: 100%;
                        }
                    }
                    .storeimgbox {
                        margin-top: 10px;
                        text-align: left;
                        width: 100%;
                        .storeimg {
                            display: inline-block;
                            vertical-align: top;
                            width: 120px;
                            height: 120px;
                            margin-right: 15px;
                        }
                    }
                }
                img {
                    width: 120px;
                    max-height: 240px;
                    margin: 0 auto;
                    display: block;
                    margin-bottom: 10px;
                }
                button {
                    margin: 0 auto;
                    display: block;
                }
            }
        }
        .submit {
            margin-top: 15px;
        }
    }

.kill-all-style {
    padding: 0 !important;
    &:hover {
        background-color: $white!important;
    }
    selectsearchwrap {
        border: 0!important;
        input {
            line-height: 1em;
        }
    }
}

.img-editor-layer {
    background-color: $black;
    position: fixed;
    z-index: 1000;
    overflow: hidden;
    width: 100%;
    padding: 0 50px;
    height: 0;
    top: 0;
    left: 0;
    @include shadow(0,
    0,
    0,
    $white);
    @include radius(2);
    @include comic_1(0.5,
    0);
    &.focus {
        @include shadow(0,
        1px,
        8px,
        #c0c0c0);
        height: 100%;
        background-color: $black;
        top: 0;
        left: 0;
        padding: 50px 50px;
    }
    .cropper-container {
        max-height: 380px;
    }
    imagecropwrap {
        display: block;
        .cropper-container {
            width: 500px;
            left: 0 !important;
        }
        imagecropcontrol {
            display: block;
            margin-bottom: 10px;
        }
    }
}

button.paper-button {
    border-bottom: none!important;
    &:hover {
        color: $white!important;
        background-color: $white!important;
    }
    .paper-container {
        spaninner {
            line-height: 30px !important;
            input[type="text"] {
                border: none!important;
                border-bottom: 1px solid $grayLighter!important;
            }
        }
    }
}

myinputnumber {
    border: 1px solid $grayLighter!important;
    input {
        border: none!important;
        outline: none!important;
    }
    numbercut,
    numberadd {
        background-color: $white!important;
        color: $black!important;
        &:hover {
            background-color: $orange!important;
            color: $white!important;
        }
    }
    numbercut {
        border-right: 1px solid $grayLighter!important;
    }
    numberadd {
        border-left: 1px solid $grayLighter;
    }
}
